// 版本计划样式
.version-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
  margin-top: 15px;
  animation: fadeIn 0.3s ease;

  @media (max-width: 1200px) {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .version-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 12px;
    transition: all 0.3s;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    &:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(139, 69, 19, 0.1);
    }

    &.active {
      border-color: #8B4513;
      box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);

      .version-header {
        h5 {
          color: #8B4513;
        }
      }
    }

    .version-tag {
      position: absolute;
      top: 8px;
      right: -25px;
      background-color: #8B4513;
      color: white;
      padding: 2px 25px;
      font-size: 11px;
      transform: rotate(45deg);
    }

    .version-header {
      text-align: center;
      padding-bottom: 8px;
      margin-bottom: 8px;
      border-bottom: 1px solid #eee;

      h5 {
        font-size: 16px;
        margin-bottom: 3px;
        color: #333;
      }

      .version-price {
        display: block;
        font-size: 24px;
        font-weight: bold;
        color: #8B4513;
        margin-bottom: 0;
      }

      .price-desc {
        font-size: 12px;
        color: #666;
      }
    }

    .version-features {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .feature {
        display: flex;
        align-items: flex-start;
        margin-bottom: 6px;

        i {
          color: #8B4513;
          font-size: 12px;
          margin-right: 6px;
          min-width: 12px;
          margin-top: 3px;
        }

        img {
          width: 12px;
          height: 12px;
          margin-right: 6px;
          min-width: 12px;
          margin-top: 3px;
        }

        span {
          font-size: 12px;
          color: #666;
          line-height: 1.2;
        }

        &.feature-disabled {
          i {
            color: #999;
          }

          img {
            opacity: 0.5;
          }

          span {
            color: #999;
          }
        }
      }
    }

    // 水平布局选项
    @media (min-width: 768px) and (max-width: 1200px) {
      flex-direction: row;
      align-items: center;
      padding: 12px 15px;

      .version-header {
        width: 30%;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
        border-right: 1px solid #eee;
        padding-right: 15px;
        margin-right: 15px;
        text-align: left;
      }

      .version-features {
        width: 70%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px 10px;
      }
    }
  }
}